/*
 * @Author: Sugar 45682h@gmail.com
 * @Date: 2022-12-24 20:05:16
 * @Describe:
 */
#ifndef __ICE_DEF_H
#define __ICE_DEF_H

namespace xrtc {
#define LOCAL_PORT_TYPE "host"

extern const int ICE_UFRAG_LENGTH;
extern const int ICE_PWD_LENGTH;

enum IceCandidateComponent { RTP = 1, RTCP = 2 };

enum IcePriorityValue {
    ICE_TYPE_PREFERENCE_RELAY_UDP = 2,
    ICE_TYPE_PREFERENCE_SRFLX = 100,
    ICE_TYPE_PREFERENCE_PRFLX = 100,
    ICE_TYPE_PREFERENCE_HOST = 126
};
} // namespace xrtc

#endif